//
//  CreateReceiverViewController.h
//  XDLookPic
//
//  Created by XD-XY on 5/26/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "XDBaseViewController.h"
#import "FMDB.h"

@protocol CreateReceiverViewControllerDelegate <NSObject>

-(void)theRecerverHadEditSucess;

@end

@interface CreateReceiverViewController : XDBaseViewController<UITextFieldDelegate,UITextViewDelegate,UITableViewDataSource,UITableViewDelegate,UIAlertViewDelegate>
{
    UIScrollView * scrollView;
    UITextField * nameTF;
    UILabel * addressTF;
    UITextView * detailAddressTV;
    UITextField * phoneTF;
    UITextField * postcodeTF;
    UILabel * placeholderLB;
    UILabel * textNumberLB;
    
    UIView * chooseAd_BgView;
    UIImageView * city_BgView;
    UITableView * cityTableView;
    
    UIButton * nextBtn;
    UIButton * lastBtn;
    NSMutableArray * dataArray;
    NSMutableArray * dataArray2;
    NSMutableArray * dataArray3;
    
    NSString *  addressLayer;
    
    NSString * provienceId;
    NSString * cityId;
    NSString * areaId;
    
    NSString * lastProvienceId;
    NSString * lastCityId;
    NSString * lastAreaId;
    
    UIButton * doneInKeyboardButton;
    
    BOOL isNumberKeyBoard;
    
}

@property(nonatomic,strong)id<CreateReceiverViewControllerDelegate>delegate;
@property(nonatomic,strong)NSString * accessType;
@property(nonatomic,strong)NSString * addressid;
@end
